<ion-view view-title="分享有礼" hide-back-button="true">
  <ion-nav-bar class="bar-positive nav-bar-container">
      <ion-nav-buttons side="left">
          <button class="button button-clear" ui-sref="web.activity-index" nav-direction="back">
              <i class="icon ion-chevron-left" ></i> 返回
          </button>
      </ion-nav-buttons>
  </ion-nav-bar>
  <ion-content class="content has-header ionic-pseudo assertive-bg"> 
    <div class="tc">  
    <img src="img/sharetop.jpg" width="100%">
    </div>
    <br> 
    <div class="padding tc size-24 energized">  
    分享送100元红包和加息券
    </div>  
    <div class="padding-top padding-horizontal">  
    <button class="button button-energized button-block" ng-click="share()">立即分享</button>
    </div>  
    <div class="padding-right tr">  
    <button class="button button-dark button-clear" ng-click="showshareguize()">活动规则</button>
    </div> 

  </ion-content>
</ion-view>

<script id="templates/shareguize.html" type="text/ng-template">
<ion-modal-view class="shareguize bgf8">
  <ion-nav-bar class="bar-positive nav-bar-container">
      <ion-nav-buttons side="right">
          <button class="button button-clear" ng-click="closeshareguize()">
              <i class="icon ion-close-circled light"></i>
          </button>
      </ion-nav-buttons>
  </ion-nav-bar> 
  <ion-content class="has-header scroll-content">
    <div class="padding"> 
      <h2 class="tc size-16 padding">分享有礼规则</h2>
      <p class="size-14">1、当好友注册并交易达到1000元时，分享者可以得到加息券1张。</p>
      <p class="size-14">2、加息券最低投资1000元时方可使用。</p>
      <p class="size-14">3、当好友交易达到5000元时，分享者可以得到价值100元红包。</p>
      <p class="size-14">4、红包为面膜、洗面奶等化妆品随机赠送。</p>
      <p class="size-14">5、公司保留最终解释权。</p>
    </div>
   </ion-content>  
</ion-modal-view>
</script>